﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SCRS.Model;
/// <summary>
/// 会员卡
/// </summary>
[Table("SYS_VIP_CARD")]
public class VipCard
{
    /// <summary>
    /// 会员卡号
    /// </summary>
    [Key]
    [Column("ID")]
    public string Id { get; set; }
    /// <summary>
    /// 会员姓名
    /// </summary>
    [Column("NAME")]
    public string Name { get; set; }
    /// <summary>
    /// 会员电话
    /// </summary>
    [Column("PHONE")]
    public string Phone { get; set; }
    /// <summary>
    /// 会员卡余额
    /// </summary>
    [Column("BALANCE")]
    public decimal Balance { get; set; }
}